<?php
session_start();
session_destroy();
//var_dump($_COOKIE['PHPSESSION']);
setcookie($_COOKIE['PHPSESSION'],"",time()-1);
header('location:index.php');
?>